home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
snpd9707.zip
/
FORMAT.C
< prev
next >
Wrap
Text File
|
1997-07-05
|
841b
|
26 lines
.I 0 1
/* +++Date last modified: 05-Jul-1997 */
.D 1 1
.I 19 2
#if !defined(__SC__) || (__SC__ < 0x700)
#error FORMAT.C >> _fcalloc() not supported bt ZTC or SC ver. 6.xx
.D 20 2
.I 482 2
static unsigned char FAR boot_code[BLEN];
static unsigned char boot_code_default[] = {
.D 483 1
.I 502 1
0xcd, 0x19 /* 7c61 int 19h */
.D 503 1
.I 504 5
};
static char boot_text_default[] = {
"\r\nNon-System disk for DATA USE ONLY!"
"\r\nProduced by a Public Domain Disk Formater 1.0 ."
"\r\nSource code freely available."
.D 505 3
.I 511 3
_fmemcpy(&boot_code[0], boot_code_default, sizeof(boot_code_default));
_fmemcpy(&boot_code[sizeof(boot_code_default)], boot_text_default,
sizeof(boot_text_default));